import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import api from '@/api'
import "@/components/global/index";
import "./utils/WeChatRepair";
// import VueSocketIO from 'vue-socket.io'

Vue.config.productionTip = false
Vue.prototype.$api = api // 将api挂载到vue的原型上

// Vue.use(new VueSocketIO({
//   debug: true,
//   connection: 'http://localhost:3000/' //
// }))

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
